<%--
  Created by IntelliJ IDEA.
  User: Dean
  Date: 2023-07-03
  Time: 8:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>商品详情</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
  <style>
    .container {
      max-width: 800px;
      margin: 0 auto;
      margin-top: 50px;
    }

    h1 {
      text-align: center;
      margin-bottom: 30px;
    }

    .form-group {
      margin-bottom: 20px;
    }
  </style>
</head>
<body>
<div class="container">
  <h1>课程详情</h1>
  <form>
    <div class="form-group">
      <label for="product-name">课程名称</label>
      <input type="text" class="form-control" id="product-name" value="商品1" >
    </div>
    <div class="form-group">
      <label for="product-description">商品描述</label>
      <textarea class="form-control" id="product-description" rows="3" readonly>商品描述1</textarea>
    </div>
    <div class="form-group">
      <label for="product-price">价格</label>
      <input type="text" class="form-control" id="product-price" value="$99.99" readonly>
    </div>
    <div class="form-group">
      <label for="product-stock">库存</label>
      <input type="text" class="form-control" id="product-stock" value="10" readonly>
    </div>
    <button type="submit" class="btn btn-primary">修改</button>
    <button type="submit" class="btn btn-primary">返回</button>
  </form>
</div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>

